import dayjsMin from '../../plugin/dayjs/dayjs.min.js'
import http from '../request.js'

//创建护理报告
export function created(data){
	return http({
		url:'/nurse/nursingRecord/createdNursingRecord',
		method:"post",
		data:data
	})
}

//护理报告列表
export function selectAll(data){
	return http({
		url:'/nurse/nursingRecord/selectAllNursingRecord',
		method:"POST",
		data:data
	})
}

//护理报告详情
export function selectNursingRecordById(data){
	return http({
		url:'/nurse/nursingRecord/selectNursingRecordById',
		method:"get",
		data:data
	})
}

// 热门服务
export function nurseShareHotServices(data){
	return http({
		url:'/nurse/share/nurseShareHotServices',
		method:"post",
		data
	})
}
// 埋点
export function insertShareData(data){
	return http({
		url:'/nurse/share/insertShareData',
		method:"post",
		data
	})
}
// 二维码
export function getWXCode(data){
	return http({
		url:`/nurse/share/getWXCode?serviceId=${data.serviceId}&nurseId=${data.nurseId}`,
		method:"get",
		params:data
	})
}



// 上传家庭医生签约资料
export function uploadSigningReportById(data){
	return http({
		url:`/nurse/signingReport/uploadSigningReportById`,
		method:"post",
		data
	})
}


// 资料列表
export function selectAllSigningReport(data){
	return http({
		url:`/nurse/signingReport/selectAllSigningReport`,
		method:"get",
		data
	})
}

// 查看资料
export function selectSigningReportById(data){
	return http({
		url:`/nurse/signingReport/selectSigningReportById`,
		method:"get",
		data
	})
}